package io.finer.erp.jeecg.bas.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Description: 产品配方
 * @Author: jeecg-boot
 * @Date:   2020-12-14
 * @Version: V1.0
 */
@ApiModel(value="bas_product_formula对象", description="产品配方")
@Data
@TableName("bas_product_formula")
public class BasProductFormula implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    /**配方名称*/
    @Excel(name = "配方名称", width = 15)
    @ApiModelProperty(value = "配方名称")
    private java.lang.String pfName;
    /**产品名称*/
    @Excel(name = "产品名称", width = 15, dictTable = "bas_material_category", dicText = "name", dicCode = "id")
    @Dict(dictTable = "bas_material_category", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "产品名称")
    private java.lang.String pfid;
    /**是否启用*/
    @Excel(name = "是否启用", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否启用")
    private java.lang.Integer isEnabled;
}
